<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title></title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
    <script src="<%=path%>/js/jquery-1.4.2.min.js"></script>
  </head>
  <script type="text/javascript" language="javascript">
  var second=3;
 function reloadyemian()//最好不要用reload这个关键字,因为很容易和其它函数冲突 
{ 
       second--;
       if(second==0)
       window.location.href="main.html"; 
          $("#changemiao").empty();
           $("#changemiao").append(second);
  
     window.setTimeout("reloadyemian();",1000); 
} 
 window.setTimeout("reloadyemian();",1000); 
</script> 


  <body>
   <h1 style="color:red">No Login Or Login Failed</h1><br/>
   <span id="changemiao">3</span><b>seconds later back</b>
  </body>
</html>
